package com.ruoyi.ylyx.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户充值对象 ylyx_userrecharge
 * 
 * @author yuexl
 * @date 2021-02-05
 */
public class YlyxUserrecharge extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 充值用户 */
    @Excel(name = "充值用户")
    private String userId;

    /** 充值用户手机号 */
    @Excel(name = "充值用户手机号")
    private String userPhone;

    /** 充值用户姓名 */
    @Excel(name = "充值用户账号")
    private String userAccount;

    /** 充值游戏 */
    @Excel(name = "充值游戏")
    private String gameId;

    /** 充值游戏名称 */
    @Excel(name = "充值游戏名称")
    private String gameName;

    /** 充值方式（1微信，2支付宝，3快捷支付，4银联支付） */
    @Excel(name = "充值方式", readConverterExp = "1=微信，2支付宝，3快捷支付，4银联支付")
    private String rechargeType;

    /** 充值金额 */
    @Excel(name = "充值金额")
    private BigDecimal rechargeMoney;

    /** 充值状态 */
    @Excel(name = "充值状态")
    private String rechargeStatus;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setGameId(String gameId) 
    {
        this.gameId = gameId;
    }

    public String getGameId() 
    {
        return gameId;
    }
    public void setRechargeType(String rechargeType) 
    {
        this.rechargeType = rechargeType;
    }

    public String getRechargeType() 
    {
        return rechargeType;
    }
    public void setRechargeMoney(BigDecimal rechargeMoney) 
    {
        this.rechargeMoney = rechargeMoney;
    }

    public BigDecimal getRechargeMoney() 
    {
        return rechargeMoney;
    }
    public void setRechargeStatus(String rechargeStatus) 
    {
        this.rechargeStatus = rechargeStatus;
    }

    public String getRechargeStatus() 
    {
        return rechargeStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("gameId", getGameId())
            .append("rechargeType", getRechargeType())
            .append("rechargeMoney", getRechargeMoney())
            .append("rechargeStatus", getRechargeStatus())
            .append("createTime", getCreateTime())
            .toString();
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getGameName() {
        return gameName;
    }

    public void setGameName(String gameName) {
        this.gameName = gameName;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }
}
